import { KnowledgeController } from '@/controller/KnowledgeController';

export const DrugReminder = [
  {
    method: 'post',
    route: '/knowledge',
    controller: KnowledgeController,
    action: 'addKnowledge',
  },
  {
    method: 'get',
    route: '/knowledge',
    controller: KnowledgeController,
    action: 'findAll',
  },

  {
    method: 'post',
    route: '/knowledge/collect',
    controller: KnowledgeController,
    action: 'collectForUser',
  },
  {
    method: 'get',
    route: '/knowledge/collect',
    controller: KnowledgeController,
    action: 'getCollectForUser',
  },
  {
    method: 'get',
    route: '/knowledge/:id',
    controller: KnowledgeController,
    action: 'findOneAndIncrease',
  },
  {
    method: 'delete',
    route: '/knowledge/:id',
    controller: KnowledgeController,
    action: 'deleteKnowledge',
  },
];
